import request from "@/utils/request";

export function getPropertiesInfoList(data) {
  return request({
    url: "/bdc/getBudingInformation",
		method: 'POST',
		data:data
  });
}

export function getForecastList(data) {
  return request({
    url: "/fcj/project/list",
		method: 'POST',
		data:data
  });
}
//获取房屋列表
export function getFloorList(data) {
  return request({
    url: '/bdc/floor/list',
    method: 'post',
    data:data
  })
}

//获取房屋详情
export function getRoomInfo(data) {
  return request({
    url: '/bdc/room',
    method: 'post',
    data:data
  })
}
//导出
export function exportExcel(params) {
  return request({
    url: `/exportExcel?projectid=${params}`,
    method: 'get',
  })
}
//获取幢信息
export function getHouseInfo(params) {
  return request({
    url: `/bdc/house/${params}`,
    method:"get"
  })
}

//根据幢编码获取房间信息
export function getBudingInfoByZbm(data) {
  return request({
    url: '/bdc/getBudingInfoByZbm',
    method: 'post',
    data:data
  })
}